// Copyright (C) Kumo inc. and its affiliates.
// Author: Jeff.li lijippy@163.com
// All rights reserved.
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published
// by the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program.  If not, see <https://www.gnu.org/licenses/>.
//

#pragma once

namespace nebula::ipc {

    enum class MetadataVersion : char {
        /// 0.1.0
        V1,

        /// 0.2.0
        V2,

        /// 0.3.0 to 0.7.1
        V3,

        /// 0.8.0 to 0.17.0
        V4,

        /// >= 1.0.0
        V5
    };

    class Message;

    enum class MessageType {
        NONE,
        SCHEMA,
        DICTIONARY_BATCH,
        RECORD_BATCH,
        TENSOR,
        SPARSE_TENSOR
    };

    struct IpcReadOptions;
    struct IpcWriteOptions;

    class MessageReader;

    class RecordBatchStreamReader;

    class RecordBatchFileReader;

    class RecordBatchWriter;

    class DictionaryFieldMapper;

    class DictionaryMemo;

    namespace feather {

        class Reader;

    }  // namespace feather
}  // namespace nebula::ipc

